package com.pingan.httpApi;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("provider")
@RequestMapping("/provider")
public interface ConsumerHttpApi {
    @GetMapping("/echo/{string}")
    public String echoMessage(@PathVariable("string") String string);
}
